package com.xtaller.easy.admin.mapper;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.xtaller.easy.admin.model.SysMenu;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* Created by Taller on 2018/04/13
*/
@Mapper 
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    @Select("select * from v_menu_auth")
    List<JSONObject> getAllAuth();

}